﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenExpressApp.Types;

namespace OpenExpressApp
{
    public interface ICommandViewInfo : IViewInfo
    {
        ICommand Command { get; }

        CommandType CommandType { get; }
        Type TargetObjectType { get; }
        ModuleType ModuleType { get; }
        ViewType TargetViewType { get; }
        /// <summary>
        /// 这个命令显示在哪个类型的工具条上
        /// </summary>
        ToolbarType ToolbarType { get; }
        /// <summary>
        /// 命令的类别
        /// </summary>
        CommandCategory Category { get; }
        /// <summary>
        /// 分组名
        /// </summary>
        string Group { get; }
    }
}